<div id=login_form>
	<h1>Login</h1>
	<fieldset>
		<legend>Login</legend>

	<script type='text/javascript' src= "<?php echo base_url()?>js/login.js"> </script>

		<?php
			$attributes['id'] = 'login_form';

			echo form_open('login/validate', $attributes);
			echo form_label('Account Name');
			echo form_input('account', set_value('account')) . '<br />';

			echo form_label('Password');
			echo form_password('password', '') . '<br />';

			echo form_label('Remember Me', 'remember');
			echo form_checkbox('remember', 'accept', FALSE);
		?>
	</fieldset>

	<?php
		echo form_submit('submit', 'Login');
		if(isset($login_error)) echo '<p class="error">'.$login_error.'</p>';
	?>

</div>


